﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FarseerGames.FarseerPhysics.Collisions;
using FarseerGames.FarseerPhysics;
using FarseerGames.FarseerPhysics.Dynamics;
using FarseerGames.FarseerPhysics.Factories;
namespace PocketEngine.Physics
{
    public class pBoxGeom : pGeom
    {
        public pBoxGeom(pBoxBody body)
        {

            Geom = GeomFactory.Instance.CreateRectangleGeom(Engine.pEngine.Physics.Sim,body.Body, body.Width, body.Height);
            Body = body;
            body.Geom = this;
        }
    }
}
